package com.xhy.major.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class Major {

    private int majorid;
    private String majorname;
    private String majorcode;
    private String majorcategory;
    private String majortype;
    private int isdeleted;

    public Major(String majorname,String majorcode,String majorcategory,String majortype){
        this.majorname = majorname;
        this.majorcode = majorcode;
        this.majorcategory = majorcategory;
        this.majortype = majortype;
    }

}
